<?php

namespace app\admin\controller;

use think\Controller;

class Cate extends Controller
{
    //商品分类列表
    public function index()
    {
        $cateInfo = model('cate')->select();
        $viewData = [
            'cate' => $cateInfo
        ];
        $this->assign($viewData);
        return view();
    }
}
